home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / include / pidgin / gtkdialogs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-04  |  2.1 KB  |  59 lines

  1. /**
  2.  * @defgroup pidgin Pidgin (GTK+ User Interface)
  3.  *
  4.  * pidgin
  5.  *
  6.  * Pidgin is the legal property of its developers, whose names are too numerous
  7.  * to list here.  Please refer to the COPYRIGHT file distributed with this
  8.  * source distribution.
  9.  *
  10.  * This program is free software; you can redistribute it and/or modify
  11.  * it under the terms of the GNU General Public License as published by
  12.  * the Free Software Foundation; either version 2 of the License, or
  13.  * (at your option) any later version.
  14.  *
  15.  * This program is distributed in the hope that it will be useful,
  16.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18.  * GNU General Public License for more details.
  19.  *
  20.  * You should have received a copy of the GNU General Public License
  21.  * along with this program; if not, write to the Free Software
  22.  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  23.  */
  24. #ifndef _PIDGINDIALOGS_H_
  25. #define _PIDGINDIALOGS_H_
  26.  
  27. #include "pidgin.h"
  28.  
  29. #include "account.h"
  30. #include "conversation.h"
  31.  
  32. /* Functions in gtkdialogs.c (these should actually stay in this file) */
  33. void pidgin_dialogs_destroy_all(void);
  34. void pidgin_dialogs_about(void);
  35. void pidgin_dialogs_im(void);
  36. void pidgin_dialogs_im_with_user(PurpleAccount *, const char *);
  37. void pidgin_dialogs_info(void);
  38. void pidgin_dialogs_log(void);
  39. void pidgin_dialogs_alias_contact(PurpleContact *);
  40. void pidgin_dialogs_alias_buddy(PurpleBuddy *);
  41. void pidgin_dialogs_alias_chat(PurpleChat *);
  42.  
  43. void pidgin_dialogs_remove_buddy(PurpleBuddy *);
  44. void pidgin_dialogs_remove_group(PurpleGroup *);
  45. void pidgin_dialogs_remove_chat(PurpleChat *);
  46. void pidgin_dialogs_remove_contact(PurpleContact *);
  47. void pidgin_dialogs_merge_groups(PurpleGroup *, const char *);
  48.  
  49. /* Everything after this should probably be moved elsewhere */
  50.  
  51. /**
  52.  * Our UI's identifier.
  53.  */
  54. #define PIDGIN_DIALOG(x)    x = gtk_window_new(GTK_WINDOW_TOPLEVEL); \
  55.             gtk_window_set_type_hint(GTK_WINDOW(x), GDK_WINDOW_TYPE_HINT_DIALOG)
  56. #define PIDGIN_WINDOW_ICONIFIED(x) (gdk_window_get_state(GTK_WIDGET(x)->window) & GDK_WINDOW_STATE_ICONIFIED)
  57.  
  58. #endif /* _PIDGINDIALOGS_H_ */
  59.